package com.jaiai.work.project.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.jaiai.work.project.entity.TModular;
import com.jaiai.work.project.mapper.TModularMapper;
import com.jaiai.work.project.service.ITModularService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 模块 服务实现类
 * </p>
 *
 * @author 佳爱网络科技
 * @since 2018-04-19
 */
@Service
public class TModularServiceImpl extends ServiceImpl<TModularMapper, TModular> implements ITModularService {

    @Override
    public Page<List<Map<String,Object>>> findTModularAll(Page page){
        page.setRecords(baseMapper.findTModularAll(page));
        return page;
    }
}
